package com.meirengu.webview.service;

import com.meirengu.service.BaseService;
import com.meirengu.webview.model.KwCyphPush;

/**
 * KwCyphPush服务接口
 *
 * @author Mao
 * @create Tue May 08 11:07:30 CST 2018
 */
public interface KwCyphPushService extends BaseService<KwCyphPush> {

    Integer applyLoan(String name, String mobile, String ip, String receivedChannel,
                      String sex, String birth, String city, String income, String loanAmount,
                      String age, String hasCreditCard, String hasHouse, String hasHousingLoan,
                      String hasCar, String hasCarLoan, String hasLifeInsurance, String insurancePay,
                      String welfare, String houseFund, String applyTime) throws Exception;

    Integer applyInsurance(String name, String mobile, String ip, String sex, String birth,
                           String city, String income, String hasHouse, String hasCar,
                           String hasLifeInsurance, String applyTime, String userAgent) throws Exception;

    Integer applyLoan2(String name, String mobile, String ip, String receivedChannel,
                       String sex, String birth, String city, String income, String loanAmount,
                       String age, String hasCreditCard, String hasHouse, String hasHousingLoan,
                       String hasCar, String hasCarLoan, String hasLifeInsurance, String insurancePay,
                       String welfare, String houseFund, String applyTime) throws Exception;

    Integer applyLoanSun(String name, String phone, String gender, String age, String birthday,
                         String applyDate, String salary, String salaryType, String loanRecords, String hasCreditCard,
                         String hasHouse, String hasHouseLoan, String hasHouseFund, String hasCar, String hasCarLoan,
                         String hasSocialSecurity, String hasInsurance, String hasLoan, Integer loanTime,
                         String city) throws Exception;

    /**
     * 推送数据到凯森
     */
    Integer applyKaisen(String name, String idno, String mobile, String city, String sex, String birthday
            , String province, String remark1, String remark2, String ip, String ipAddress
            , String userAgent, String remark3, String remark4, String remark5) throws Exception;

    /**
     * 推送数据到凯森2
     */
    Integer applyKaisen2(String extId, String name, String appIdno, String appMobile, String product, String city
            , String cityCode, String sex, String age, String birthday, String province, String incomeMonth, String wagesType
            , String loan, String room, String car, String socialSecurity, String accumulationFund, String credit, String policy
            , String wld, String ip, String ipAddress, String creatTime, String remark1, String remark2, String userAgent
            , String remark3, String remark4, String remark5, String kstype);



}
